using System.Reflection;
using Future.Shared.Core.Extensions;
using Futuret.Core.Futuret;

//服务信息
var serviceInfo = AppInfo.CreateInstance(Assembly.GetExecutingAssembly());

var builder = WebApplication
    .CreateBuilder(args)
    .ConfigureCloudDefault(serviceInfo);

var app = builder.Build();
app.UseAdd();
await app.RunAsync();